<?php

session_start();

if ($_SESSION) {
    if ($_SESSION["idlogin"] && $_SESSION["login"] && $_SESSION["tipo"]) {
        
    } else {
        header("Location: index.php");
        exit;
    }
} else {
    header("Location: index.php");
    exit;
}
?>
